
html{
  background-image: url('../pics//back-ground-img.png');
  background-position: center center;
  background-repeat: repeat;
  background-size: auto;
}
html,body,.wrap,.main,.page-wrapper div {
  height: 100% ;
  width: 100% ;
}
body, ul, table, form{
  margin:0;
  padding:0;
  overflow:hidden;
}

.main {
  display: flex;
  padding: 20px 0;
}

.page-wrapper {
  position: relative;
}

/* 顶部工具栏 */
.tool-bar {
  height: 40px;
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  background: #282c34;
  color: #fff;
  z-index: 100;
}

.tool-list {
  height: 100%;
  display: flex;
}

.tool-bar .page-title {
  font-size: 16px;
  padding-left: 20px;
  font-weight: 600;
}

.button-bar {
  width: 40px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-top: 2px solid #282c34;
}

.button-bar:hover {
  background-color: rgb(255, 255, 253, 0.3);
  border-color: #fff;
}

.button-bar img {
  width: 26px;
  height: 26px;
}

.full-bar .button-bar img {
  width: 22px;
  height: 22px;
}
.page-bar {
  margin-left: 210px;
  transition: all 0.3s;
}
.wrap.un-flod .page-bar {
  margin-left: 0;
}

.webui-popover {
  min-height: unset !important;
  width: unset !important;
}

.webui-popover-content {
  padding: 4px 10px!important;
  font-size: 12px!important;
}

.webui-popover .arrow {
  top: -6px!important;
  margin-left: -12px!important;
}

.webui-popover.bottom >.arrow:after {
  top: 0 !important;
  margin-left: -6px!important;
}

.webui-popover>.arrow:after {
  border-width: 0!important;
}

.webui-popover.right {
  margin-left: 15px !important;
}

.coco-msg-stage {
  top: 40px !important;
}

.pages-jumper {
  display: flex;
  align-items: center;
  border-right: 1px solid #fff6;
  border-left: 1px solid #fff6;
  padding: 0 15px;
  margin: 0 10px;
}

.pages-jumper input {
  height: 20px;
  width: 50px;
  text-align: center;
}

#pageTotal {
  margin: 0 15px 0 5px;
}

.jumper-button {
  text-align: center;
  width: 52px;
  height: 22px;
  line-height: 22px;
  border-radius: 2px;
  color: #333;
  font-size: 16px;
  background: #fff;
  cursor: pointer;
}

.jumper-button:hover {
  color: #fff;
  background: rgb(97 162 237);
}

/* 目录 */
.catalogue-container {
  width: 200px;
  flex-shrink: 0;
  height: calc(100% - 60px);
  margin-left: 10px;
  margin-top: -10px;
  background-color: rgb(255, 255, 253);
  background-image: url('../pics/paper.png');
  box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
  border-radius: 5px;
  position: relative;
  transition: all 0.5s ease 0s;
}

.catalogue-box {
  height: calc(100% - 55px);
}

.catalogue-box,.catalogue-header {
  width: 100%;
  overflow: hidden;
}

.catalogue-header {
  width: calc(100% - 20px);
  overflow: hidden;
}

.wrap.un-flod .catalogue-container{
  width: 0;
}

.catalogue-header,.catalogue-list {
  transition: all 0.3s ease 0s;
}
.wrap.un-flod .catalogue-header, .wrap.un-flod .catalogue-list {
  /* display: none; */
  opacity: 0;
}

.wrap.un-flod  .catalogue-flod{
  transform: rotateY(180deg);
}


.wrap.hover .catalogue-container{
  position: fixed;
  box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
  z-index: 1;
}

.catalogue-header {
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  padding-left: 20px;
}
.catalogue-title {
  margin: 10px 0;
  font-weight: 600;
  font-size: large;
  background-clip: text;
  -webkit-background-clip: text;
  color: #0000;
  background-image: linear-gradient(252deg, rgba(32, 128, 240, 0.6) 0%, #2080f0 100%);
}
.catalogue-list {
  width: 165px;
  height: 100%;
  padding: 5px 15px 5px 20px;
  list-style: none;
  font-size: 14px;
  overflow-y: auto;
}
.catalogue-list > li {
  padding: 5px 0;
  cursor: pointer;
  transition: all 0.5s ease 0s;
}

.catalogue-list > li:hover {
  background-color: rgba(232, 231, 231, 0.3);
}

.catalogue-flod {
  position: absolute;
  right: -8px;
  width: 16px;
  background: #fff;
  height: 52px;
  top: 20%;
  border: 1px solid #E7E9E8;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 6%);
}

.catalogue-flod:hover {
  background: #efeded;
}

.flod-svg {
  width: 20px;
}

.prefix-title {
  position: relative;
  padding-left: 10px;
  line-height: 26px;
}
.prefix-title::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 16px;
  left: -5px;
  top: 5px;
  background-image: linear-gradient(180deg, rgba(32, 128, 240, 0.6) 0%, #2080f0 100%);
}

/* 左右翻页 */
.flip-button {
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
}
.flip-button img {
  width: 50px;
}
.flip-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* 书 */
.flipBook-container {
  height: calc(100% - 110px);
  margin: 0 auto;
}
.wrap.lower .flipBook-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 70px);
}
.flipBook-pages {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}
.pages-two {
  width: 220px;
  height: 25px;
  font-size: 12px;
  background: #fff;
  border-radius: 50px;
  box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color:  rgb(105 106 106);
  background-color: rgb(255, 255, 253);
  background-image: url(../pics/paper.png);
}
.pages-two .line {
  width: 1px;
  background: #e1dfdf;
  height: 60%;
}

#flipBook{
  box-shadow: 0 0 15px #4d4c4c;
  background-color: rgb(255, 255, 253);
  background-image: url('../pics/paper.png');
}

#flipBook.turn-page {
  background-color: white;
}

#flipBook.cover {
  background: #333;
}

#flipBook.cover h1 {
  color: white;
  text-align: center;
  font-size: 50px;
  line-height: 500px;
  margin: 0px;
}

#flipBook.loader {
  /* background-image: url(loader.gif); */
  width: 24px;
  height: 24px;
  display: block;
  position: absolute;
  top: 238px;
  left: 188px;
}

#flipBook.data {
  text-align: center;
  font-size: 40px;
  color: #999;
  line-height: 500px;
}

#flipBook.even{
  background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
  background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
  background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
  background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
  background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
  background-image:linear-gradient(left, #fff 95%, #dadada 100%);
}

#flipBook.odd{
  background:-webkit-gradient(linear, right top, left top, color-stop(0.95, #fff), color-stop(1, #cacaca));
  background-image:-webkit-linear-gradient(right, #fff 95%, #cacaca 100%);
  background-image:-moz-linear-gradient(right, #fff 95%, #cacaca 100%);
  background-image:-ms-linear-gradient(right, #fff 95%, #cacaca 100%);
  background-image:-o-linear-gradient(right, #fff 95%, #cacaca 100%);
  background-image:linear-gradient(right, #fff 95%, #cacaca 100%);
}

.page-img {
  transition: all 0.5s;
}

/* 书页中间阴影 */
.page-mark{
	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}

.page-mark img{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin:0;
}

.page-mark .gradient {
  position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.page-mark.even .gradient{
	background:-webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.2)));
	background-image:-webkit-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-moz-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-ms-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:-o-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	background-image:linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
}

.page-mark.odd .gradient{
	background:-webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.15)));
	background-image:-webkit-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-moz-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-ms-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:-o-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	background-image:linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
}

/* 加载动画1 */
.before-load-container {
  display: flex;
  align-items: center;
  position: absolute;
  width: 50px !important;
  height: 50px !important;
  top: 50%;
  margin-top: -25px;
  left: 50%;
  margin-left: -25px;
}
.before-load {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(0, 169, 178,.2);
}
.before-load::before {
  content: "";
  width: 70px;
  height: 70px;
  background-color: #00adb5;
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 1;
  transform-origin: left bottom;
  animation: rotate 1.5s infinite linear;
}
.before-load::after {
  content: "";
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 2;
  border-radius: 50%;
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 全屏加载动画2 */
.load-container {
  position: fixed;
  height: 100vh;
  width: 100vw;
  margin: auto;
  background: rgb(31, 34, 50);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}
.load-container .load-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.load-container .title {
  margin-bottom: 15px;
  color: rgb(221, 221, 221);
}
.load-container .load {
  width: 20px;
  height: 20px;
  background-color: #00adb5;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.load-container .load1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.load-container .load2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.page-mark {
  background: #fff;
}

/* 全屏处理 */
.wrap.full-screen .full-button {
  display: none;
}
.wrap.full-screen .not-full-button {
  display: flex !important;
}

/* 放大处理 */
.wrap.enlarge-screen .flip-button, .wrap.enlarge-screen .footer-pages {
  opacity: 0;
}
